<?php
/** 用户消息控制器:后台
 * Created by PhpStorm.
 * User: zxj
 * Date: 17/5/2
 * Time: 下午3:14
 */

namespace App\Http\Controllers\Admin;

use App\Models\Message;

class MessageController extends BaseController
{

    public function __construct(Message $message)
    {
        parent::__construct();
        $this->message = $message;
    }

    /**
     * 获取后台消息列表
     */
    public function getMessage(){
        $res = $this->message->getMess(request());
        return ajax_return($res);
    }





}